.name-handle {
  display: flex;
  align-items: center;

  button {
    border: 1px solid #99b5e9;
    padding: 3px 8px;
    border-radius: 5px;
    //background: #e6ecfa;
    background: none;
    color: #0045c8;
    font-size: 12px;
    margin-right: 10px;
  }
}

.date-text {
  color: #ADADAD;
  font-weight: normal;
  font-size: 12px;
  display: flex;
  align-items: center;
  //justify-content: space-between;
  span {
    &:nth-child(2n) {
      margin: 0 5px;
    }
  }
}

.edit-btn {
  border: 1px solid #E4E7EA;
  padding: 3px 8px;
  border-radius: 5px;
  background: #fff;
  color: #070B2D;
  margin-left: 10px;
  font-size: 12px;


  &:hover{
    border: 1px solid #99b5e9;
    background: #e6ecfa;
    color: #0045c8;
  }
  &.active {
    border: 1px solid #99b5e9;
    color: #0045c8;
  }
}

.noData {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  height: 100%;
  color: #ddd;

  img {
    width: 100px;
    margin-bottom: 20px;
  }
}

.pagination-box {
  display: flex;
  justify-content: flex-end;
  padding-top: 10px;
}

.switch + .switch {
  margin-left: 10px;
}

/deep/ .el-switch__label--left {
  position: absolute;
  left: 18px;
  font-size: 12px;
  z-index: 100;
  display: none;
  margin-right: 0;
}

/deep/ .el-switch__label * {
  font-size: 12px;
  color: #fff;
}

/deep/ .el-switch__label--right {
  position: absolute;
  left: 6px;
  font-size: 12px;
  z-index: 100;
  display: none;
  margin-left: 0;
}

/deep/ .el-switch__label.is-active {
  display: block;
}

.project-status {
  position: absolute;
  top: 0;
  left: 0;
  padding: 8px;
}

.project-model {
  background: rgba(0, 0, 0, .5);
  color: #fff;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  display: none;
}

.edit-ico {
  background: transparent;
  border: none;
  color: #cbbdbd;

  img {
    height: 14px;
  }
}

.project-img-tags {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  img  {
    height: 25px;
    width: 25px;
  }
}

.project-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;

  &__box {
    max-width: 60%;
    display: flex;
    justify-content: space-between;

    strong {
      font-size: 16px;
      display: inline-block;
      width: 100%;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      margin-right: 8px;
    }
  }

  .el-icon-more {
    color: #999999;
  }
}

.project-img {
  background: #F5F8FF;
  //height: 23vh;
  aspect-ratio: 350 / 200;
  margin-bottom: 10px;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background-size: contain;

  img {
    height: 100%;
    width: 100%;
    object-fit: contain;
  }
}

.project-box {
  background: #fff;
  //height: 330px;
  width: 24%;
  border-radius: 10px;
  padding: 10px;
  box-sizing: border-box;
  margin-right: 1%;
  margin-bottom: 1%;
  border: 1px solid #f0f0f0;
  aspect-ratio:  374 / 321;

  &:nth-child(4n) {
    margin-right: 0;
  }

  &:hover {
    box-shadow: 0 0 12px rgba(16, 29, 43, 0.2);

    .project-model {
      display: flex;
    }
  }
}

.recent-header {
  position: relative;

  /deep/ .el-tabs__item {
    font-size: 16px;
    color: #666666;
  }

  &__more {
    position: absolute;
    top: 0;
    right: 0;
  }
}

.project-create {
  background: #F5F8FF;
  width: 24%;
  aspect-ratio: 374 / 321;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 1%;
  margin-bottom: 1%;
  border-radius: 10px;
  justify-content: center;

  &:hover {
    box-shadow: 0 0 12px rgba(16, 29, 43, 0.2);
  }

  .icon {
    font-size: 70px;
    color: #ADB4C2;
    margin-bottom: 40px;
  }

}

.project-items {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  height: calc(100vh - 360px);
  overflow: auto;
  align-items: flex-start;
  &__board {
    @extend .project-items;
    height: auto;
    align-items: inherit;
    padding: 8px;
  }
}

.button-block {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}
